package com.glory.dgcpcpda.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class SchedulingEntity implements Serializable{


    @SerializedName("EQUIPMENTLIST")
    private List<EQUIPMENTLISTDTO> equipmentlist;

    public List<EQUIPMENTLISTDTO> getEquipmentlist() {
        if (equipmentlist == null) {
            return new ArrayList<>();
        }
        return equipmentlist;
    }

    public void setEquipmentlist(List<EQUIPMENTLISTDTO> equipmentlist) {
        this.equipmentlist = equipmentlist;
    }

    public static class EQUIPMENTLISTDTO implements Serializable {
        @SerializedName("UDF")
        private UDFDTO udf;
        @SerializedName("OBJECTRRN")
        private int objectrrn;
        @SerializedName("EQUIPMENTID")
        private String equipmentid;
        @SerializedName("DESCRIPTION")
        private String description;
        @SerializedName("LOCATION")
        private String location;
        @SerializedName("DEPARTMENT")
        private String department;
        @SerializedName("EQPTYPE")
        private String eqptype;
        @SerializedName("POSITIONSETRRN")
        private int positionsetrrn;
        @SerializedName("STATUSMODELRRN")
        private int statusmodelrrn;
        @SerializedName("EQPTYPEDETAIL")
        private String eqptypedetail;
        @SerializedName("EQPGROUP")
        private String eqpgroup;
        @SerializedName("MODEL")
        private String model;
        @SerializedName("COMCLASS")
        private String comclass;
        @SerializedName("STATE")
        private String state;
        @SerializedName("SUBSTATE")
        private String substate;
        @SerializedName("HOLDSTATE")
        private String holdstate;
        @SerializedName("ISBATCH")
        private String isbatch;
        @SerializedName("ISMULTIPART")
        private String ismultipart;
        @SerializedName("STYLE")
        private int style;
        @SerializedName("CREATED")
        private String created;
        @SerializedName("UPDATED")
        private String updated;
        @SerializedName("UPDATEDBY")
        private String updatedby;
        @SerializedName("CURRENTPARTNAME")
        private String currentpartname;
        @SerializedName("ISAVAILABLE")
        private boolean isavailable;
        @SerializedName("ISBATCHLOTSIZECONTROL")
        private boolean isbatchlotsizecontrol;

        public UDFDTO getUdf() {
            return udf;
        }

        public void setUdf(UDFDTO udf) {
            this.udf = udf;
        }

        public int getObjectrrn() {
            return objectrrn;
        }

        public void setObjectrrn(int objectrrn) {
            this.objectrrn = objectrrn;
        }

        public String getEquipmentid() {
            return equipmentid == null ? "" : equipmentid;
        }

        public void setEquipmentid(String equipmentid) {
            this.equipmentid = equipmentid;
        }

        public String getDescription() {
            return description == null ? "" : description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getLocation() {
            return location == null ? "" : location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public String getDepartment() {
            return department == null ? "" : department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getEqptype() {
            return eqptype == null ? "" : eqptype;
        }

        public void setEqptype(String eqptype) {
            this.eqptype = eqptype;
        }

        public int getPositionsetrrn() {
            return positionsetrrn;
        }

        public void setPositionsetrrn(int positionsetrrn) {
            this.positionsetrrn = positionsetrrn;
        }

        public int getStatusmodelrrn() {
            return statusmodelrrn;
        }

        public void setStatusmodelrrn(int statusmodelrrn) {
            this.statusmodelrrn = statusmodelrrn;
        }

        public String getEqptypedetail() {
            return eqptypedetail == null ? "" : eqptypedetail;
        }

        public void setEqptypedetail(String eqptypedetail) {
            this.eqptypedetail = eqptypedetail;
        }

        public String getEqpgroup() {
            return eqpgroup == null ? "" : eqpgroup;
        }

        public void setEqpgroup(String eqpgroup) {
            this.eqpgroup = eqpgroup;
        }

        public String getModel() {
            return model == null ? "" : model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public String getComclass() {
            return comclass == null ? "" : comclass;
        }

        public void setComclass(String comclass) {
            this.comclass = comclass;
        }

        public String getState() {
            return state == null ? "" : state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getSubstate() {
            return substate == null ? "" : substate;
        }

        public void setSubstate(String substate) {
            this.substate = substate;
        }

        public String getHoldstate() {
            return holdstate == null ? "" : holdstate;
        }

        public void setHoldstate(String holdstate) {
            this.holdstate = holdstate;
        }

        public String getIsbatch() {
            return isbatch == null ? "" : isbatch;
        }

        public void setIsbatch(String isbatch) {
            this.isbatch = isbatch;
        }

        public String getIsmultipart() {
            return ismultipart == null ? "" : ismultipart;
        }

        public void setIsmultipart(String ismultipart) {
            this.ismultipart = ismultipart;
        }

        public int getStyle() {
            return style;
        }

        public void setStyle(int style) {
            this.style = style;
        }

        public String getCreated() {
            return created == null ? "" : created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public String getUpdated() {
            return updated == null ? "" : updated;
        }

        public void setUpdated(String updated) {
            this.updated = updated;
        }

        public String getUpdatedby() {
            return updatedby == null ? "" : updatedby;
        }

        public void setUpdatedby(String updatedby) {
            this.updatedby = updatedby;
        }

        public String getCurrentpartname() {
            return currentpartname == null ? "" : currentpartname;
        }

        public void setCurrentpartname(String currentpartname) {
            this.currentpartname = currentpartname;
        }

        public boolean isIsavailable() {
            return isavailable;
        }

        public void setIsavailable(boolean isavailable) {
            this.isavailable = isavailable;
        }

        public boolean isIsbatchlotsizecontrol() {
            return isbatchlotsizecontrol;
        }

        public void setIsbatchlotsizecontrol(boolean isbatchlotsizecontrol) {
            this.isbatchlotsizecontrol = isbatchlotsizecontrol;
        }

        public static class UDFDTO implements Serializable{
            @SerializedName("RESERVED3")
            private String reserved3;
            @SerializedName("RESERVED2")
            private String reserved2;
            @SerializedName("RESERVED1")
            private String reserved1;
            @SerializedName("RESERVED7")
            private String reserved7;
            @SerializedName("DISPATCH")
            private String dispatch;
            @SerializedName("RESERVED6")
            private String reserved6;
            @SerializedName("RESERVED5")
            private String reserved5;
            @SerializedName("RESERVED4")
            private String reserved4;
            @SerializedName("FILLPASS")
            private String fillpass;
            @SerializedName("INFACTORYTIME")
            private String infactorytime;
            @SerializedName("RESERVED10")
            private String reserved10;
            @SerializedName("ISUSETOOL")
            private String isusetool;
            @SerializedName("RESERVED11")
            private String reserved11;
            @SerializedName("RESERVED9")
            private String reserved9;
            @SerializedName("FACAREA")
            private String facarea;
            @SerializedName("RESERVED8")
            private String reserved8;

            public String getReserved3() {
                return reserved3 == null ? "" : reserved3;
            }

            public void setReserved3(String reserved3) {
                this.reserved3 = reserved3;
            }

            public String getReserved2() {
                return reserved2 == null ? "" : reserved2;
            }

            public void setReserved2(String reserved2) {
                this.reserved2 = reserved2;
            }

            public String getReserved1() {
                return reserved1 == null ? "" : reserved1;
            }

            public void setReserved1(String reserved1) {
                this.reserved1 = reserved1;
            }

            public String getReserved7() {
                return reserved7 == null ? "" : reserved7;
            }

            public void setReserved7(String reserved7) {
                this.reserved7 = reserved7;
            }

            public String getDispatch() {
                return dispatch == null ? "" : dispatch;
            }

            public void setDispatch(String dispatch) {
                this.dispatch = dispatch;
            }

            public String getReserved6() {
                return reserved6 == null ? "" : reserved6;
            }

            public void setReserved6(String reserved6) {
                this.reserved6 = reserved6;
            }

            public String getReserved5() {
                return reserved5 == null ? "" : reserved5;
            }

            public void setReserved5(String reserved5) {
                this.reserved5 = reserved5;
            }

            public String getReserved4() {
                return reserved4 == null ? "" : reserved4;
            }

            public void setReserved4(String reserved4) {
                this.reserved4 = reserved4;
            }

            public String getFillpass() {
                return fillpass == null ? "" : fillpass;
            }

            public void setFillpass(String fillpass) {
                this.fillpass = fillpass;
            }

            public String getInfactorytime() {
                return infactorytime == null ? "" : infactorytime;
            }

            public void setInfactorytime(String infactorytime) {
                this.infactorytime = infactorytime;
            }

            public String getReserved10() {
                return reserved10 == null ? "" : reserved10;
            }

            public void setReserved10(String reserved10) {
                this.reserved10 = reserved10;
            }

            public String getIsusetool() {
                return isusetool == null ? "" : isusetool;
            }

            public void setIsusetool(String isusetool) {
                this.isusetool = isusetool;
            }

            public String getReserved11() {
                return reserved11 == null ? "" : reserved11;
            }

            public void setReserved11(String reserved11) {
                this.reserved11 = reserved11;
            }

            public String getReserved9() {
                return reserved9 == null ? "" : reserved9;
            }

            public void setReserved9(String reserved9) {
                this.reserved9 = reserved9;
            }

            public String getFacarea() {
                return facarea == null ? "" : facarea;
            }

            public void setFacarea(String facarea) {
                this.facarea = facarea;
            }

            public String getReserved8() {
                return reserved8 == null ? "" : reserved8;
            }

            public void setReserved8(String reserved8) {
                this.reserved8 = reserved8;
            }
        }
    }
}
